const Controller = require("uni-cloud-router").Controller;
module.exports = class RadioController extends Controller {
	async getSleepType() {
		const data = this.ctx.data // 从 Context 实例上获取请求参数
		console.log("客户端上传的参数:",data);
		return this.service.radio.getSleepType();
	};
	
	async getStoryListWithType() {
		const data = this.ctx.data // 从 Context 实例上获取请求参数
		console.log("客户端上传的参数:",data);
		return this.service.radio.getStoryListWithType();
	};
	
	async getStoryListWithModelData() {
		const data = this.ctx.data // 从 Context 实例上获取请求参数
		console.log("客户端上传的参数:",data);
		return this.service.radio.getStoryListWithModelData();
	}
	
};